package com.example.logindb.sevices;



import com.example.logindb.entity.Help;

import java.sql.Timestamp;
import java.util.List;

public interface HelpService {
    void blindWaitforHelp(Help help);

    List<Help> findBlindByLoc(Double lat, Double lon);



    Help findAllByAid(Integer aid);

    void updateEnd(Help help);

    void updateblind(Help help);

    List<Help> findByBid(Integer bid);

    List<Help> findByVid(Integer vid);

    List<Integer> getCountByVid();

    Integer dayDoneHelp(Timestamp startTime);

    Integer dayOverHelp(Timestamp startTime);

    Float getDistance(double lon, double lat,double lon1, double lat1);

    List<Help> findByBidDone(Integer bid);

    List<Help> findByBVidDone(Integer vid);

    Help findStatus1AllByBid(int bid);



//    List<String> findGeojsonByBlindID(int id);
}
